#ifndef __TIMER_H
#define __TIMER_H

#include "stm32f10x.h"

#define SERVO_TIMERx										TIM1
#define SERVO_TIMER_ARR									(20000 - 1)
#define SERVO_TIMER_PSC									71
#define SERVO_TIMER_OCMODE							TIM_OCMode_PWM2

#define FP_COM_TIMERx										TIM2
#define FP_COM_TIMER_Period            	(100 - 1)
#define FP_COM_TIMER_Prescaler         	7199
#define FP_COM_TIMER_IRQ               	TIM2_IRQn

void Timer_Init(void);

#endif

